package com.sali.rbac.convert;

import com.sali.rbac.model.SysUserModel;
import com.sali.rbac.orm.SysUserDO;
import org.mapstruct.Mapper;


@Mapper(componentModel = "spring")
public interface SysUserConvertDO2Model {

//    @Mappings( {
//            @Mapping(source="uuid",target = "cuuid"),
//            @Mapping(target = "createTime",expression = "java(com.sali.rbac.convert.DateTransform.DateToString(sysUserDO.getCreateTime()))")
//    })
    SysUserModel convert(SysUserDO sysUserDO);

}
